package cn.bigfire.wzdj.util;

import lombok.Getter;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

public class Consts {

    public static String LOGIN_TYPE_APP = "[APP]";
    public static String LOGIN_TYPE_WX = "[WX]";


    public static List<String> nearList = new ArrayList<>();
    public static List<String> farList = new ArrayList<>();
    static{
        //近距离
        nearList.add(Fighter.F3002.getId());
        nearList.add(Fighter.F3004.getId());
        nearList.add(Fighter.F3005.getId());
        nearList.add(Fighter.F4001.getId());
        nearList.add(Fighter.F4004.getId());
        //远距离
        farList.add(Fighter.F3001.getId());
        farList.add(Fighter.F3003.getId());
        farList.add(Fighter.F4002.getId());
        farList.add(Fighter.F4003.getId());
    }

    @Getter
    public enum Fighter {

        F1001("f_1001", "弓箭手"),
        F1002("f_1002", "炸弹兵"),
        F1003("f_1003", "战士"),
        F1004("f_1004", "水元素"),
        F1005("f_1005", "兽人"),

        F2001("f_2001", "小恶魔"),
        F2002("f_2002", "火枪手"),
        F2003("f_2003", "工程师"),
        F2004("f_2004", "贤者"),
        F2005("f_2005", "沙蝎"),

        //不合并
        F3001("f_3001", "枭兽"),
        F3002("f_3002", "电磁"),
        F3003("f_3003", "大树"),
        F3004("f_3004", "锤子兵"),
        F3005("f_3005", "狼人"),

        F4001("f_4001", "食人魔"),
        F4002("f_4002", "海元素"),
        F4003("f_4003", "圣骑士"),
        F4004("f_4004", "直升机"),

        F5001("f_5001", "青蛙"),//合成表 f_3004,f_3001,f_1005
        F5002("f_5002", "财神"),//合成表 f_3005,f_3003,f_2001
        F5003("f_5003", "剑豪"),//合成表 f_3005,f_2004,f_2001
        F5004("f_5004", "无极"),//合成表 f_4003,f_3004,f_2004
        F5005("f_5005", "爆小子"),
        F5006("f_5006", "兽术士"),
        F5007("f_5007", "零号"),
        F5008("f_5008", "喵波特"),//合成表 f_3001,f_1001,f_1004 2
        F5009("f_5009", "巨人"),//合成表 f_4001,f_3005,f_1003
        F5010("f_5010", "冰女"),//合成表 f_4002,f_2005,f_1004
        F5011("f_5011", "绝地猫0"),//合成表 f_4004,f_1005,f_1005
        F5012("f_5012", "龙"),//合成表 f_3001 2,f_1004
        F5013("f_5013", "火魔"),
        F5014("f_5014", "暗影猎"),
        F5015("f_5015", "孙悟空"),
        F5016("f_5016", "熊猫"),
        F5017("f_5017", "神龙战0"),
        F5017_1("f_5017_1", "神龙战1"),
        F5018("f_5018", "龙猫"),
        F5019("f_5019", "独霸0"),
        F5019_1("f_5019_1", "独霸1"),
        F5019_2("f_5019_2", "独霸2"),
        F5020("f_5020", "达达0"),
        F5020_1("f_5020_1", "达达1"),
        F5021("f_5021", "审判使"),
        F5022("f_5022", "荒镖客"),
        F5023("f_5023", "冰霜子"),
        F5024("f_5024", "潮汐力"),
        F5025("f_5025", "末男爵"),
        F5026("f_5026", "疯萝莉"),
        F5027("f_5027", "卡巴拉"),


        F9001("f_9001", "绝地猫1"),//绝地猫
        F9002("f_9002", "龙"),//龙  ?
        F9003("f_9003", "小火人"),
        F9004("f_9004", "暗影猎1"),
        F9005("f_9005", "龙幻象"),
        ;
        final String id;
        final String actorName;

        Fighter(String id, String actorName) {
            this.id = id;
            this.actorName = actorName;
        }

        public static String nameById(String id) {
            for (Fighter fighter : values()) {
                if (fighter.id.equals(id)) {
                    return fighter.actorName;
                }
            }
            return id;
        }


    }

    @Getter
    public enum Resource {
        MONSTER_LIMIT("monster_limit", "怪物上限"),
        POPU_LIMIT("popu_limit", "英雄上限"),
        FOOD("food", "金币"),
        LUCK_COIN("luck_coin", "幸运币"),
        MONSTER("monster", "怪物个数"),
        POPU("popu", "英雄个数"),
        ;
        final String id;
        final String resName;

        Resource(String id, String resName) {
            this.id = id;
            this.resName = resName;
        }

        public static String nameById(String id) {
            for (Resource resource : values()) {
                if (resource.id.equals(id)) {
                    return resource.resName;
                }
            }
            return id;
        }

    }


    public static class Item {
        private static HashMap<String, String> map = new HashMap<>();
        static {
            map.put("gold", "金币");
            map.put("diamond", "钻石");
            map.put("mythic_stone", "万能碎片");
            map.put("mine_key", "锤子");
            map.put("recruit_key", "招募卷");
            map.put("recruit_gem", "招募卷(高)");
            map.put("daily_mission_point", "每日进度点");
            map.put("energy", "体力");
            map.put("rand_relic", "遗迹");
            map.put("option_box_001", "自选盒1");
            map.put("option_box_002", "自选盒2");
            map.put("option_box_003", "自选盒3");
            map.put("option_box_004", "自选盒4");
            map.put("option_box_005", "自选盒5");

            map.put("f_1001", "弓箭手");
            map.put("f_1002", "炸弹兵");
            map.put("f_1003", "战士");
            map.put("f_1004", "水元素");
            map.put("f_1005", "兽人");
            map.put("f_2001", "小恶魔");
            map.put("f_2002", "火枪手");
            map.put("f_2003", "工程师");
            map.put("f_2004", "贤者");
            map.put("f_2005", "沙蝎");
            map.put("f_3001", "枭兽");
            map.put("f_3002", "电磁");
            map.put("f_3003", "大树");
            map.put("f_3004", "锤子兵");
            map.put("f_3005", "狼人");
            map.put("f_4001", "食人魔");
            map.put("f_4002", "海元素");
            map.put("f_4003", "圣骑士");
            map.put("f_4004", "直升机");
            map.put("f_5001", "青蛙");
            map.put("f_5002", "财神");
            map.put("f_5003", "剑豪");
            map.put("f_5004", "无极");
            map.put("f_5005", "爆小子");
            map.put("f_5006", "兽术士");
            map.put("f_5007", "零号");
            map.put("f_5008", "喵波特");
            map.put("f_5009", "巨人");
            map.put("f_5010", "冰女");
            map.put("f_5011", "绝地猫0");
            map.put("f_5012", "龙");
            map.put("f_5013", "火魔");
            map.put("f_5014", "暗影猎");
            map.put("f_5015", "孙悟空");
            map.put("f_5016", "熊猫");
            map.put("f_5017", "龙战士");
            map.put("f_5018", "龙猫");
            map.put("f_5019", "独霸0");
            map.put("f_5020", "达达");
            map.put("f_5021", "末男爵");
            map.put("f_5022", "荒镖客");
            map.put("f_5023", "冰之子");
            map.put("f_5024", "审批使");
            map.put("f_5025", "潮汐力");
            map.put("f_9001", "绝地猫1");
            map.put("f_9002", "绝地猫2");
            map.put("f_9003", "小火");
            map.put("f_9004", "暗影猎1");

            //神话碎片
            map.put("fp_5001", "青蛙");
            map.put("fp_5002", "财神");
            map.put("fp_5003", "剑豪");
            map.put("fp_5004", "无极");
            map.put("fp_5005", "爆小子");
            map.put("fp_5006", "兽术士");
            map.put("fp_5007", "零号");
            map.put("fp_5008", "喵波特");
            map.put("fp_5009", "巨人");
            map.put("fp_5010", "冰女");
            map.put("fp_5011", "绝地猫0");
            map.put("fp_5012", "龙");
            map.put("fp_5013", "火魔");
            map.put("fp_5014", "暗影猎");
            map.put("fp_5015", "孙悟空");
            map.put("fp_5016", "熊猫");
            map.put("fp_5017", "龙战士");
            map.put("fp_5018", "龙猫");
            map.put("fp_5019", "独霸0");
            map.put("fp_5020", "达达");
            map.put("fp_5021", "末男爵");
            map.put("fp_5022", "荒镖客");
            map.put("fp_5023", "冰之子");
            map.put("fp_5024", "审批使");
            map.put("fp_5025", "潮汐力");
            map.put("fp_9001", "绝地猫1");
            map.put("fp_9002", "绝地猫2");
            map.put("fp_9003", "小火");
            map.put("fp_9004", "暗影猎1");


            //r_1001  r_1031  30个圣物
            map.put("r_1001", "大剑(2)");//对首领造成的伤害增加1000 {"1":1000,"2":1100,"3":1200,"4":1300,"5":1400,"6":1500,"7":1600,"8":1700,"9":1800,"10":1900,"11":2000,"12":2100,"13":2200,"14":2300,"15":2400}
            map.put("r_1002", "兽人的斧子(2)");//减少所有敌人%s点防御  {"1":5,"2":6,"3":7,"4":8,"5":9,"6":10,"7":11,"8":12,"9":13,"10":14,"11":15,"12":16,"13":17,"14":18,"15":19}
            map.put("r_1003", "钱袋(2)");//开始时硬币增加%s
            map.put("r_1004", "沙漏(2)");//减少所有敌人%s移动速度
            map.put("r_1005", "古钱币(2)");//每回合发放硬币增加
            map.put("r_1006", "水晶球(3)");//抽卡时抽取史诗英雄几率增加
            map.put("r_1007", "海螺(2)");//在普通召唤中抽取稀有英雄的几率增加
            map.put("r_1008", "巨弩(4)");//暴击率增加
            map.put("r_1009", "幸运戒指(2)");//每10回合发放%s个幸运币
            map.put("r_1010", "传说护符(4)");//抽卡时抽取传说英雄几率增加%s
            map.put("r_1011", "冰淇淋(4)");//使用终极技能时返还%s魔力
            map.put("r_1012", "黄金锤(3)");//触发暴击时，有%s几率获得1个硬币
            map.put("r_1013", "聚宝盆(4)");//每回合发放%s持有中的硬币
            map.put("r_1014", "魔术师的帽子(4)");//抽卡失败时，有%s几率发放低阶英雄
            map.put("r_1015", "怀表(4)");//抽卡失败时，有%s几率退回本次费用
            map.put("r_1016", "战鼓(3)");//所有攻击力增加
            map.put("r_1017", "弹弓(3)");//所有攻击速度增加
            map.put("r_1018", "木锤(3)");//眩晕持续时间增加
            map.put("r_1019", "技能书(4)");//技能伤害增加
            map.put("r_1020", "棒球棍(2)");//物理伤害增加
            map.put("r_1021", "法杖(2)");//魔法伤害增加
            map.put("r_1022", "大盾(3)");//怪物计数上限
            map.put("r_1023", "金箍棒(3)");//当敌人眩晕时伤害增加
            map.put("r_1024", "磁铁(2)");//出售英雄时有%s几率额外发放1个幸运币
            map.put("r_1025", "黄金匕首(4)");//击杀怪物获得的硬币增加
            map.put("r_1026", "稻草玩偶(3)");//技能发动几率增加
            map.put("r_1027", "闪电鞋(2)");//移动速度增加
            map.put("r_1028", "幸运石(3)");//战斗中完成任务时发放%s个幸运币
            map.put("r_1029", "魔法卷轴(3)");//魔法伤害也能触发暴击，额外增加%s暴击伤害
            map.put("r_1030", "黄金号角(4)");//增加所有攻击力，相当于持有中硬币的%s
            map.put("r_1031", "图腾(4)");//可以持有的英雄上限数量增加%s


        }
        public static String nameById(String id) {
            return map.getOrDefault(id, id + "");
        }
    }

    public static class CallRate {
        private static HashMap<Integer, String> map = new HashMap<>();
        static {
            map.put(1, "召白");
            map.put(2, "召蓝");
            map.put(3, "召紫");
            map.put(4, "召金");
        }
        public static String nameById(int id) {
            return map.getOrDefault(id, id + "");
        }
    }

    public static class BetRate {
        private static HashMap<Integer, String> map = new HashMap<>();
        static {
            map.put(1, "赌白");
            map.put(2, "赌蓝");
            map.put(3, "赌紫");
            map.put(4, "赌金");
        }
        public static String nameById(int id) {
            return map.getOrDefault(id, id + "");
        }
    }


    public static class Enhance {
        private static HashMap<Integer, String> map = new HashMap<>();
        static {
            map.put(1, "强白蓝");
            map.put(2, "紫色");
            map.put(3, "金色");
            map.put(4, "强化召唤");
        }
        public static String nameById(int id) {
            return map.getOrDefault(id, id + "");
        }
    }

    public static class EndReason {
        private static HashMap<Integer, String> map = new HashMap<>();
        static {
            map.put(1, "服务器踢人,不消耗体力");
            map.put(2, "未打死BOSS");
            map.put(3, "怪兽达到上限");
            map.put(4, "胜利");
        }
        public static String nameById(int id) {
            return map.getOrDefault(id, id + "");
        }
    }

    public static class MissionType {
        private static HashMap<Integer, String> map = new HashMap<>();
        static {
            map.put(2, "每日探索");
            map.put(13, "每日探索[上方累计]");
        }
        public static String nameById(int id) {
            return map.getOrDefault(id, id + "");
        }
    }


    public static class MissionState {
        private static HashMap<Integer, String> map = new HashMap<>();
        static {
            map.put(0, "未开始");
            map.put(1, "未完成");
            map.put(2, "已完成");
            map.put(3, "已领取");
        }
        public static String nameById(int id) {
            return map.getOrDefault(id, id + "");
        }
    }

    public static class PassState {
        private static HashMap<Integer, String> map = new HashMap<>();
        static {
            map.put(0, "未完成");
            map.put(1, "已完成");
            map.put(2, "已领取");
        }
        public static String nameById(int id) {
            return map.getOrDefault(id, id + "");
        }
    }

    public static class PVPState {
        private static HashMap<Integer, String> map = new HashMap<>();
        static {
            map.put(0, "未开始");
            map.put(1, "未完成");
            map.put(2, "已完成");
            map.put(3, "已领取");
        }
        public static String nameById(int id) {
            return map.getOrDefault(id, id + "");
        }
    }

    public static class FightMissionState {
        private static HashMap<Integer, String> map = new HashMap<>();
        static {
            map.put(0, "未开始");
            map.put(1, "未完成");
            map.put(2, "已完成");
            map.put(3, "已领取");
        }
        public static String nameById(int id) {
            return map.getOrDefault(id, id + "");
        }
    }

    public static class SaleState {
        private static HashMap<Integer, String> map = new HashMap<>();
        static {
            map.put(0, "未知0");
            map.put(1, "可购买");
            map.put(2, "不可买");
            map.put(3, "未知3");
        }
        public static String nameById(int id) {
            return map.getOrDefault(id, id + "");
        }
    }

    public static class BattleType {
        private static HashMap<Integer, String> map = new HashMap<>();
        static {
            map.put(0, "未知0");
            map.put(1, "普通");
            map.put(2, "困难");
            map.put(3, "未知3");
            map.put(4, "竞技");
            map.put(5, "地狱");
        }
        public static String nameById(int id) {
            return map.getOrDefault(id, id + "");
        }
    }



    /*
    商店名称
            L = t("DAILY_FREE_SHOP_ID", 1e4),
            t("VIP_SHOP_ID", 17001),
            D = t("DAILY_SHOP_ID", 10001),
            t("ARTIFACT_SHOP_ID", 14001),
            w = t("MYTH_SPECIAL_SHOP_ID", 18001),
            A = t("SPECIAL_SHOP_ID", 19001),
            I = t("CLEARANCE_SHOP_ID", 20001),
            t("SKIN_GIFT_SHOP_ID", 21001),
            t("THEME_SKIN_SHOP_ID", 22001),
            t("NEW_FIGHTER_GIFT_ID", 23001),
            C = t("MYXG_SHOP_ID", 24001),
            P = t("MZXG_SHOP_ID", 25001),
            S = t("HXG_SHOP_ID", 26001),
            R = t("PAY_GOLD_SHOP_ID", 29001),
            t("PASS_SHOP_ID", 27001),
            t("PASS_GIFT_SHOP_ID", 28001),
            t("HERO_GIFT_SHOP_ID", 30001),
            t("LIGHT_LAMP_LOTTERY_SHOP_ID", 22002),
            T = t("RECRUIT_ADVANCED_SHOP_ID", 31001),
            M = t("HYBRID_ARTIFACT_SHOP_ID", 32001),
            t("THEME_GIFT_SHOP_ID", 22003),
            t("THEME_EXCHANGE_SHOP_ID", 33001),
            B = t("FAST_ROLE_LV", 3),



            {
                        "10000": {
                            "id": 10000,
                            "name": "每日免费钻石商店",
                            "templateId": 11,
                            "houseId": 10000,
                            "manualRefreshCost": {}
                        },
                        "10001": {
                            "id": 10001,
                            "name": "每日商店",
                            "templateId": 1,
                            "houseId": 10001,
                            "manualRefreshCost": {
                                "id": "gold",
                                "num": 1000
                            }
                        },
                        "11001": {
                            "id": 11001,
                            "name": "钻石商店",
                            "templateId": 2,
                            "houseId": 11001,
                            "manualRefreshCost": {}
                        },
                        "12001": {
                            "id": 12001,
                            "name": "金币商店",
                            "templateId": 3,
                            "houseId": 12001,
                            "manualRefreshCost": {}
                        },
                        "13001": {
                            "id": 13001,
                            "name": "万能碎片商店",
                            "templateId": 4,
                            "houseId": 13001,
                            "manualRefreshCost": {}
                        },
                        "14001": {
                            "id": 14001,
                            "name": "圣物商店",
                            "templateId": 5,
                            "houseId": 14001,
                            "manualRefreshCost": {}
                        },
                        "15001": {
                            "id": 15001,
                            "name": "特价商店",
                            "templateId": 6,
                            "houseId": 15001,
                            "manualRefreshCost": {}
                        },
                        "16001": {
                            "id": 16001,
                            "name": "体力商店",
                            "templateId": 7,
                            "houseId": 16001,
                            "manualRefreshCost": {}
                        },
                        "17001": {
                            "id": 17001,
                            "name": "大小月卡商店",
                            "templateId": 8,
                            "houseId": 17001,
                            "manualRefreshCost": {}
                        },
                        "18001": {
                            "id": 18001,
                            "name": "神话特价商店",
                            "templateId": 9,
                            "houseId": 18001,
                            "manualRefreshCost": {}
                        },
                        "19001": {
                            "id": 19001,
                            "name": "特别商店",
                            "templateId": 10,
                            "houseId": 19001,
                            "manualRefreshCost": {}
                        },
                        "20001": {
                            "id": 20001,
                            "name": "通关30回合商店",
                            "templateId": 12,
                            "houseId": 20001,
                            "manualRefreshCost": {}
                        },
                        "21001": {
                            "id": 21001,
                            "name": "皮肤商店",
                            "templateId": 13,
                            "houseId": 21001,
                            "manualRefreshCost": {}
                        },
                        "22001": {
                            "id": 22001,
                            "name": "主题活动商店",
                            "templateId": 14,
                            "houseId": 22001,
                            "manualRefreshCost": {}
                        },
                        "22002": {
                            "id": 22002,
                            "name": "点灯商店",
                            "templateId": 14,
                            "houseId": 22002,
                            "manualRefreshCost": {}
                        },
                        "22003": {
                            "id": 22003,
                            "name": "英雄招募商店",
                            "templateId": 14,
                            "houseId": 22003,
                            "manualRefreshCost": {}
                        },
                        "22004": {
                            "id": 22004,
                            "name": "秘境寻宝商店",
                            "templateId": 14,
                            "houseId": 22004,
                            "manualRefreshCost": {}
                        },
                        "22005": {
                            "id": 22005,
                            "name": "点灯商店",
                            "templateId": 14,
                            "houseId": 22005,
                            "manualRefreshCost": {}
                        },
                        "22006": {
                            "id": 22006,
                            "name": "奇妙屋兑换商店",
                            "templateId": 27,
                            "houseId": 22006,
                            "manualRefreshCost": {}
                        },
                        "22007": {
                            "id": 22007,
                            "name": "奇妙屋礼包商店",
                            "templateId": 28,
                            "houseId": 22007,
                            "manualRefreshCost": {}
                        },
                        "22008": {
                            "id": 22008,
                            "name": "糖果兑换商店",
                            "templateId": 26,
                            "houseId": 22008,
                            "manualRefreshCost": {}
                        },
                        "23001": {
                            "id": 23001,
                            "name": "新英雄商店",
                            "templateId": 15,
                            "houseId": 23002,
                            "manualRefreshCost": {}
                        },
                        "24001": {
                            "id": 24001,
                            "name": "每月限购礼包",
                            "templateId": 16,
                            "houseId": 24001,
                            "manualRefreshCost": {}
                        },
                        "25001": {
                            "id": 25001,
                            "name": "每周限购礼包",
                            "templateId": 17,
                            "houseId": 25001,
                            "manualRefreshCost": {}
                        },
                        "26001": {
                            "id": 26001,
                            "name": "8小时限购礼包",
                            "templateId": 18,
                            "houseId": 26001,
                            "manualRefreshCost": {}
                        },
                        "27001": {
                            "id": 27001,
                            "name": "主题战令商店",
                            "templateId": 19,
                            "houseId": 27001,
                            "manualRefreshCost": {}
                        },
                        "28001": {
                            "id": 28001,
                            "name": "主题战令礼包",
                            "templateId": 20,
                            "houseId": 28001,
                            "manualRefreshCost": {}
                        },
                        "29001": {
                            "id": 29001,
                            "name": "金币特惠礼包",
                            "templateId": 21,
                            "houseId": 29001,
                            "manualRefreshCost": {}
                        },
                        "30001": {
                            "id": 30001,
                            "name": "英雄探宝商店",
                            "templateId": 22,
                            "houseId": 30001,
                            "manualRefreshCost": {}
                        },
                        "30002": {
                            "id": 30002,
                            "name": "盲盒商店",
                            "templateId": 22,
                            "houseId": 30002,
                            "manualRefreshCost": {}
                        },
                        "31001": {
                            "id": 31001,
                            "name": "招募券商店",
                            "templateId": 23,
                            "houseId": 31001,
                            "manualRefreshCost": {}
                        },
                        "32001": {
                            "id": 32001,
                            "name": "锻造锤商店",
                            "templateId": 24,
                            "houseId": 32001,
                            "manualRefreshCost": {}
                        },
                        "33001": {
                            "id": 33001,
                            "name": "双十一活动兑换商店",
                            "templateId": 25,
                            "houseId": 33001,
                            "manualRefreshCost": {}
                        },
                        "100001": {
                            "id": 100001,
                            "name": "钻石商店",
                            "templateId": 2,
                            "houseId": 100001,
                            "manualRefreshCost": {}
                        }
                    }
     */
    public static class ShopType {
        private static HashMap<Integer, String> map = new HashMap<>();
        static {
            //商店  每日更新时间为4点
            map.put(10000, "每日免费钻石商店(免费_15钻石_商店)");
            map.put(10001, "每日商店(随机_战斗机_商店)");
            map.put(11001, "钻石商店");
            map.put(12000, "每日免费金币商店(免费_1600金币_商店)");
            map.put(12001, "金币商店(买_金币_商店)");
            map.put(13001, "万能碎片商店");

            map.put(14001, "圣物商店(工艺品_商店)");
            map.put(15001, "特价商店");
            map.put(16001, "体力商店");
            map.put(17001, "大小月卡商店(会员_商店)");
            map.put(18001, "神话特价商店(神话_特别_商店)");
            map.put(19001, "特别商店(特别_商店)");
            map.put(20001, "通关30回合商店(特价清仓_商店)");
            map.put(21001, "皮肤商店(皮肤_礼包_商店)");

            map.put(22001, "主题活动商店(主题_皮肤商店)");
            map.put(22002, "点灯商店(亮_灯_彩票_商店)");
            map.put(22003, "英雄招募商店(主题_礼包_商店)");

            map.put(22004, "秘境寻宝商店");
            map.put(22005, "点灯商店");
            map.put(22006, "奇妙屋兑换商店");
            map.put(22007, "奇妙屋礼包商店");
            map.put(22008, "糖果兑换商店");

            map.put(23001, "新英雄商店(新_战斗机_礼包_商店)");

            map.put(24001, "每月限购礼包(MYXG_商店)");
            map.put(25001, "每周限购礼包(MZXG_商店)");
            map.put(26001, "8小时限购礼包(HXG_商店)");

            map.put(27001, "主题战令商店(通过_商店)");
            map.put(28001, "主题战令礼包(通过_礼包_商店)");
            map.put(29001, "金币特惠礼包(买_金币_商店)");
            map.put(30001, "英雄探宝商店(英雄_礼包_商店)");
            map.put(30002, "盲盒商店");

            map.put(31001, "招募券商店(招募_高级_商店)");
            map.put(32001, "锻造锤商店(混合_手工艺_商店)");
            map.put(33001, "双十一活动兑换商店(主题_交换_商店)");
            map.put(100001, "钻石商店");

        }
        public static String nameById(int id) {
            return map.getOrDefault(id, id + "");
        }
    }

    public static class SignState {
        private static HashMap<Integer, String> map = new HashMap<>();
        static {
            map.put(0, "未解锁");
            map.put(1, "可签到");
            map.put(2, "补签");
            map.put(3, "已领取");
        }
        public static String nameById(int id) {
            return map.getOrDefault(id, id + "");
        }
    }

    public static class SignTotalState {
        private static HashMap<Integer, String> map = new HashMap<>();
        static {
            map.put(-1, "未到达");
            map.put(1, "已领取");
            map.put(2, "待领取");
        }
        public static String nameById(int id) {
            return map.getOrDefault(id, id + "");
        }
    }

    public static class BetQuality {
        private static HashMap<Integer, String> map = new HashMap<>();
        static {
            map.put(2, "蓝色1");
            map.put(3, "紫色1");
            map.put(4, "金色2");
        }
        public static String nameById(int id) {
            return map.getOrDefault(id, id + "");
        }
    }




}
